Skip to content

[MFSNW26] Add boilerplate GraphQL structure#20

Merged
ericahan22 merged 3 commits intomainfrom
MFSNW26-setup-graphql-structure
Feb 8, 2026
Merged

[MFSNW26] Add boilerplate GraphQL structure#20
ericahan22 merged 3 commits intomainfrom
MFSNW26-setup-graphql-structure

Conversation

@ericahan22
Copy link
Member

@ericahan22 ericahan22 commented Feb 8, 2026

Notion ticket link

N/A

Implementation description

  • Added sample GraphQL schema, resolvers, and service layer for CRUD operations on Sample entities.
  • Integrated Sequelize ORM and downgraded express to 4.18.2 to resolve apollo-server-express dependency conflict.
  • Cleaned up lint errors and formatted backend code.

Steps to test

  1. Run npm install in backend directory.
  2. Start backend server and verify GraphQL endpoints for Sample work (query, mutation).
  3. Run linter and formatter to confirm no errors.
  4. Check CI workflow for successful dependency installation.

What should reviewers focus on?

  • Correctness of GraphQL schema and resolver logic.
  • Dependency compatibility (express and apollo-server-express).
  • Code style and lint compliance.

Checklist

  • My PR name is descriptive and in imperative tense
  • My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
  • I have run the appropriate linter(s)
  • I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

@ericahan22 ericahan22 marked this pull request as draft February 8, 2026 05:58
@ericahan22 ericahan22 changed the title Draft: Mfsnw26 setup graphql structure [MFSNW26] Add boilerplate GraphQL structure Feb 8, 2026
@ericahan22 ericahan22 requested a review from tonyqiu123 February 8, 2026 06:04
@ericahan22 ericahan22 marked this pull request as ready for review February 8, 2026 06:04
@ericahan22 ericahan22 merged commit 2a3df43 into main Feb 8, 2026
1 check passed
@ericahan22 ericahan22 deleted the MFSNW26-setup-graphql-structure branch February 8, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant